package com.hilon.base.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import java.util.Date;

@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class BaseHard extends BaseSimple {
    private Long idMain;
    private String lastManager;
    private Date lastManageTime;
}
//本类数据可以进行先用后管理模式，通过idMain确定可以合并的基础数据项。